package com.cs.user.infra.basic.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import lombok.Data;

import java.io.Serializable;

/**
 * 用户角色表(AuthUserRole)表实体类
 *
 * @author makejava
 * @since 2024-09-24 14:20:58
 */
@Data
@TableName("auth_user_role")
public class UserRole implements Serializable {
//主键id
    @TableId(type = IdType.ASSIGN_ID)
    private Long businessId;
//用户id
    private Long userId;
//角色id
    private Long roleId;
//创建人
    private Long createBy;
//创建时间
    private Date createTime;
//更新时间
    private Date updateTime;
//逻辑删除
    private Integer isDelete;
}

